package com.ly.heart.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.SurveyCostEntity;

/**
 * 勘测申请费用明细Service接口
 *
 * @author wutao
 * @date 2024-05-22
 */
public interface ISurveyCostService extends IService<SurveyCostEntity> {
    /**
     * 查询勘测申请费用明细
     *
     * @param id 勘测申请费用明细ID
     * @return 勘测申请费用明细
     */
    SurveyCostEntity selectErpSurveyCostInfoById ( String id );

    /**
     * 查询勘测申请费用明细列表
     *
     * @param erpSurveyCostInfo 勘测申请费用明细
     * @return 勘测申请费用明细集合
     */
    List<SurveyCostEntity> selectErpSurveyCostInfoList ( SurveyCostEntity erpSurveyCostInfo );

    /**
     * 新增勘测申请费用明细
     *
     * @param erpSurveyCostInfo 勘测申请费用明细
     * @return 结果
     */
    int insertErpSurveyCostInfo ( SurveyCostEntity erpSurveyCostInfo );

    /**
     * 修改勘测申请费用明细
     *
     * @param erpSurveyCostInfo 勘测申请费用明细
     * @return 结果
     */
    int updateErpSurveyCostInfo ( SurveyCostEntity erpSurveyCostInfo );

    /**
     * 批量删除勘测申请费用明细
     *
     * @param ids 需要删除的勘测申请费用明细ID
     * @return 结果
     */
    int deleteSurveyCostInfoByIds ( String[] ids );

    /**
     * 通过勘测申请Id删除多条预算费用明细
     * @param surveyApplyId
     * @return
     */
    int deleteSurveyCostByApplyIds ( String surveyApplyId );

    /**
     * 删除勘测申请费用明细信息
     *
     * @param id 勘测申请费用明细ID
     * @return 结果
     */
    int deleteErpSurveyCostInfoById ( String id );
}
